package com.issac.rabbitmq.receiver;


import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
public class DirectReceiver {

    @RabbitListener(queues = "issac_queue")
    public void mq(String msg){
        System.out.println("mq>>>"+msg);
    }
}
